﻿using System.Windows;
using System.Windows.Controls;

namespace Waaahsabi.Controls.TheGame
{
	public class GenericSubSystemInterface : Control
	{
		#region Title DependencyProperty
		public static readonly DependencyProperty TitleProperty =
		DependencyProperty.Register
			(
			"Title",
			typeof(string),
			typeof(GenericSubSystemInterface),
			new PropertyMetadata("Title not initialized")
			);

		public string Title
		{
			get { return (string)GetValue(TitleProperty); }
			set { SetValue(TitleProperty, value); }
		}
		#endregion

		#region Content DependencyProperty
		public static readonly DependencyProperty ContentProperty =
		DependencyProperty.Register
			(
			"Content",
			typeof(UIElement),
			typeof(GenericSubSystemInterface),
			new PropertyMetadata(null)
			);

		public UIElement Content
		{
			get { return (UIElement)GetValue(ContentProperty); }
			set { SetValue(ContentProperty, value); }
		}
		#endregion

		public GenericSubSystemInterface()
		{
			DefaultStyleKey = typeof(GenericSubSystemInterface);
		}
	}
}
